package com.bootdo.fx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.fx.dao.SiteMsgDao;
import com.bootdo.fx.domain.SiteMsgDO;
import com.bootdo.fx.service.SiteMsgService;



@Service
public class SiteMsgServiceImpl implements SiteMsgService {
	@Autowired
	private SiteMsgDao siteMsgDao;
	
	@Override
	public SiteMsgDO get(Long msgId){
		return siteMsgDao.get(msgId);
	}
	
	@Override
	public List<SiteMsgDO> list(Map<String, Object> map){
		return siteMsgDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return siteMsgDao.count(map);
	}
	
	@Override
	public int save(SiteMsgDO siteMsg){
		return siteMsgDao.save(siteMsg);
	}
	
	@Override
	public int update(SiteMsgDO siteMsg){
		return siteMsgDao.update(siteMsg);
	}
	
	@Override
	public int remove(Long msgId){
		return siteMsgDao.remove(msgId);
	}
	
	@Override
	public int batchRemove(Long[] msgIds){
		return siteMsgDao.batchRemove(msgIds);
	}
	
}
